package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.Building;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.domain.Dot;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzy
 * @since 2024-06-24
 */
public interface BuildingService extends IService<Building> {
    public List<Building> selectBuildByNamePage(String name, Dot dot);
    public int getTotelByBuildingID(Long BuildingID);
    public List<Building> selectBuildByGenderPage(Dot dot);
    public List<Building> selectBuildByAreaPage( Dot dot);

    boolean buildingModify(Building building);



    List<Building> selectBuildingsByDormitoryAdminIDs(List<Long> ids);

    List<Map<String, Object>> selectBuildingWithAreaNameByBuildingName(Dot dot);

    List<Building> selectBuildingByAreaID(Long areaName);
}
